import React, { Component } from 'react'
import styles from './index.module.scss'
import { mytest } from 'api/home'
import { Button } from 'antd'

export default class Home extends Component {
  componentDidMount() {
    this.mytest()
  }
  async mytest() {
    const result = await mytest()
    // console.log(result)
  }
  render() {
    return <div className={styles.home}>
      <Button type="primary" onClick={() => {
        this.props.history.push('/website')
      }}>tool网页管理</Button>
    </div>
  }
}
